//
//  NRWCarShareListShopCell.m
//  New_Runway
//
//  Created by 张记 on 2018/5/29.
//  Copyright © 2018年 NelsonJ. All rights reserved.
//

#import "NRWCarShareListShopCell.h"

@interface NRWCarShareListShopCell ()
@property (weak, nonatomic) IBOutlet UIImageView *shopLogo;
@property (weak, nonatomic) IBOutlet UILabel *shopName;
@property (weak, nonatomic) IBOutlet UILabel *shopAdress;
@property (weak, nonatomic) IBOutlet UILabel *phoneNum;

@end

@implementation NRWCarShareListShopCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.backgroundColor = UIColorHex(0xf5f5f5);
}
-(void)setShopModel:(NRWCarShareListModel *)shopModel{
    _shopModel = shopModel;
    self.shopName.text = shopModel.result.shop.shopName;
    self.shopAdress.text = shopModel.result.shop.shopAddress;
    self.phoneNum.text = shopModel.result.user.userMobile;
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
